package com.rich.house.service;


import com.rich.common.entity.TbWantHouse;

import java.util.List;

/**
 * @author hu
 */
public interface WantHouseService {
    /**
     * 想租(买)房 列表
     * @return TbWantHouse
     */
    List<TbWantHouse> wantHouseList();

    /**
     * 我想租(买)个房
     * @param wantHouse
     */
    void addWantHouse(TbWantHouse wantHouse);

    /**
     * 逻辑删除
     * @param id
     * @param status
     */
    void deleteWantHouse(Long id, String status);

}
